package com.itheima.dao;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;


public interface SetmealDao {
    void add(Setmeal setmeal);

    void setSetmealAndtCheckGroup(Map map);

    Page<Setmeal> findByCondition(String queryString);

    Setmeal findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void edit(Setmeal setmeal);

    void deleteAssocication(Integer id);

    Boolean delete(Integer id);

    List<String> findAllImg();

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();
}
